Integrand size = 40, antiderivative size = 43 \[ \int \frac {1}{(a+b x) (c+d x) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^2} \, dx=-\frac {1}{B (b c-a d) n \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )} \]
[Out]
Time = 0.15 (sec) , antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {2573, 2561, 2339, 30} \[ \int \frac {1}{(a+b x) (c+d x) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^2} \, dx=-\frac {1}{B n (b c-a d) \left (B \log \left (e (a+b x)^n (c+d x)^{-n}\right )+A\right )} \]
[In]
[Out]
Rule 30
Rule 2339
Rule 2561
Rule 2573
Rubi steps \begin{align*} \text {integral}& = \text {Subst}\left (\int \frac {1}{(a+b x) (c+d x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2} \, dx,e \left (\frac {a+b x}{c+d x}\right )^n,e (a+b x)^n (c+d x)^{-n}\right ) \\ & = \text {Subst}\left (\frac {\text {Subst}\left (\int \frac {1}{x \left (A+B \log \left (e x^n\right )\right )^2} \, dx,x,\frac {a+b x}{c+d x}\right )}{b c-a d},e \left (\frac {a+b x}{c+d x}\right )^n,e (a+b x)^n (c+d x)^{-n}\right ) \\ & = \text {Subst}\left (\frac {\text {Subst}\left (\int \frac {1}{x^2} \, dx,x,A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{B (b c-a d) n},e \left (\frac {a+b x}{c+d x}\right )^n,e (a+b x)^n (c+d x)^{-n}\right ) \\ & = -\frac {1}{B (b c-a d) n \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )} \\ \end{align*}
Time = 0.02 (sec) , antiderivative size = 41, normalized size of antiderivative = 0.95 \[ \int \frac {1}{(a+b x) (c+d x) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^2} \, dx=-\frac {1}{(b B c n-a B d n) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )} \]
[In]
[Out]
Time = 65.20 (sec) , antiderivative size = 43, normalized size of antiderivative = 1.00
method | result | size |
derivativedivides | \(\frac {1}{\left (A +B \ln \left (e \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right )\right ) B n \left (a d -c b \right )}\) | \(43\) |
default | \(\frac {1}{\left (A +B \ln \left (e \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right )\right ) B n \left (a d -c b \right )}\) | \(43\) |
parallelrisch | \(\frac {1}{\left (A +B \ln \left (e \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right )\right ) B n \left (a d -c b \right )}\) | \(43\) |
risch | \(\frac {2}{B n \left (a d -c b \right ) \left (2 A +2 B \ln \left (e \right )+2 B \ln \left (\left (b x +a \right )^{n}\right )-2 B \ln \left (\left (d x +c \right )^{n}\right )-i B \pi \,\operatorname {csgn}\left (i \left (b x +a \right )^{n}\right ) \operatorname {csgn}\left (i \left (d x +c \right )^{-n}\right ) \operatorname {csgn}\left (i \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right )+i B \pi \,\operatorname {csgn}\left (i \left (b x +a \right )^{n}\right ) \operatorname {csgn}\left (i \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right )^{2}+i B \pi \,\operatorname {csgn}\left (i \left (d x +c \right )^{-n}\right ) \operatorname {csgn}\left (i \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right )^{2}-i B \pi \operatorname {csgn}\left (i \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right )^{3}-i B \pi \,\operatorname {csgn}\left (i e \right ) \operatorname {csgn}\left (i \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right ) \operatorname {csgn}\left (i e \left (d x +c \right )^{-n} \left (b x +a \right )^{n}\right )+i B \pi \,\operatorname {csgn}\left (i e \right ) \operatorname {csgn}\left (i e \left (d x +c \right )^{-n} \left (b x +a \right )^{n}\right )^{2}+i B \pi \,\operatorname {csgn}\left (i \left (b x +a \right )^{n} \left (d x +c \right )^{-n}\right ) \operatorname {csgn}\left (i e \left (d x +c \right )^{-n} \left (b x +a \right )^{n}\right )^{2}-i B \pi \operatorname {csgn}\left (i e \left (d x +c \right )^{-n} \left (b x +a \right )^{n}\right )^{3}\right )}\) | \(366\) |
[In]
[Out]
none
Time = 0.33 (sec) , antiderivative size = 86, normalized size of antiderivative = 2.00 \[ \int \frac {1}{(a+b x) (c+d x) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^2} \, dx=-\frac {1}{{\left (B^{2} b c - B^{2} a d\right )} n^{2} \log \left (b x + a\right ) - {\left (B^{2} b c - B^{2} a d\right )} n^{2} \log \left (d x + c\right ) + {\left (B^{2} b c - B^{2} a d\right )} n \log \left (e\right ) + {\left (A B b c - A B a d\right )} n} \]
[In]
[Out]
Timed out. \[ \int \frac {1}{(a+b x) (c+d x) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^2} \, dx=\text {Timed out} \]
[In]
[Out]
none
Time = 0.32 (sec) , antiderivative size = 81, normalized size of antiderivative = 1.88 \[ \int \frac {1}{(a+b x) (c+d x) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^2} \, dx=-\frac {1}{{\left (b c n - a d n\right )} B^{2} \log \left ({\left (b x + a\right )}^{n}\right ) - {\left (b c n - a d n\right )} B^{2} \log \left ({\left (d x + c\right )}^{n}\right ) + {\left (b c n - a d n\right )} A B + {\left (b c n \log \left (e\right ) - a d n \log \left (e\right )\right )} B^{2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 99 vs. \(2 (43) = 86\).
Time = 0.29 (sec) , antiderivative size = 99, normalized size of antiderivative = 2.30 \[ \int \frac {1}{(a+b x) (c+d x) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^2} \, dx=-\frac {1}{B^{2} b c n^{2} \log \left (b x + a\right ) - B^{2} a d n^{2} \log \left (b x + a\right ) - B^{2} b c n^{2} \log \left (d x + c\right ) + B^{2} a d n^{2} \log \left (d x + c\right ) + B^{2} b c n \log \left (e\right ) - B^{2} a d n \log \left (e\right ) + A B b c n - A B a d n} \]
[In]
[Out]
Time = 1.25 (sec) , antiderivative size = 42, normalized size of antiderivative = 0.98 \[ \int \frac {1}{(a+b x) (c+d x) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^2} \, dx=\frac {1}{B\,n\,\left (A+B\,\ln \left (\frac {e\,{\left (a+b\,x\right )}^n}{{\left (c+d\,x\right )}^n}\right )\right )\,\left (a\,d-b\,c\right )} \]
[In]
[Out]